import 'package:json_annotation/json_annotation.dart';
part 'service_reqId_api.g.dart';

@JsonSerializable()
class ResponseServiceReqIdApi {
  @JsonKey(name: 'orderId')
  final String reqId; // 提交工单时返回的id号，用于请求后续的业务数据

  ResponseServiceReqIdApi({required this.reqId});

  factory ResponseServiceReqIdApi.fromJson(Map<String, dynamic> json) {
    return _$ResponseServiceReqIdApiFromJson(json);
  }

  Map<String, dynamic> toJson() => _$ResponseServiceReqIdApiToJson(this);
}
